package com.wk.code.wkserver.response.admin;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author wangqiang
 * @date 2021-11-12 15:49
 */
@Data
@ApiModel(value = "用户余额记录")
public class UserBalanceRecord {

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "金额(收支金额)")
    private BigDecimal amount;

    @ApiModelProperty(value = "收支 2收 1支")
    private Integer type;

    @ApiModelProperty(value = "金额类型 1 接单收益  2 提现 3提现失败")
    private Integer accountType;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
